/**
 * 
 */
package com.morgankelly.util;

/**
 * @author morgan.liao
 *
 */
public enum RoleEnum {
	
    Admin (true, true),
    User (false, true),
    Guest (false, false);

    private final boolean write;
    private final boolean readAll;
    
    private RoleEnum (boolean write, boolean readAll) {
         this.write = write;
         this.readAll = readAll;
    }

	public boolean write() {
		return write;
	}

	public boolean readAll() {
		return readAll;
	}

}
